package com.mb.mp.dao;

import com.mb.mp.domain.MpMemberCommissionDtlDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface MpMemberCommissionDtlDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MpMemberCommissionDtlDO record);

    int insertSelective(MpMemberCommissionDtlDO record);

    MpMemberCommissionDtlDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MpMemberCommissionDtlDO record);

    int updateByPrimaryKey(MpMemberCommissionDtlDO record);

    BigDecimal getCommission(MpMemberCommissionDtlDO record);

    List<Map<String,Object>> statsOrderQTYOfDaysByMonth(Map<String,Object> map);

    MpMemberCommissionDtlDO getMemberCommission(MpMemberCommissionDtlDO record);
}